package com.dd.ms.provider.web.converter;

import com.dd.ms.provider.pojo.DataObjectBO;
import com.dd.ms.provider.web.pojo.DO.DataObjectDO;
import org.springframework.beans.BeanUtils;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/6/22 16:51
 * @Description 数据对象转换器
 */
public class DataObjectConverter {

    public static DataObjectBO convert2BO(DataObjectDO dataObjectDO) {
        DataObjectBO dataObjectBO = new DataObjectBO();
        BeanUtils.copyProperties(dataObjectDO, dataObjectBO);
        return dataObjectBO;
    }
}
